package com.yunfeng.learning.param;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel(value = "重置用户密码信息")
public class ResetPasswordParam {
    @ApiModelProperty(value = "新密码")
    private String newPassword;
    @ApiModelProperty(value = "原始密码")
    private String oldPassword;

    public ResetPasswordParam(String newPassword, String oldPassword) {
        this.newPassword = newPassword;
        this.oldPassword = oldPassword;
    }

    public String getNewPassword() {
        return newPassword;
    }

    public void setNewPassword(String newPassword) {
        this.newPassword = newPassword;
    }

    public String getOldPassword() {
        return oldPassword;
    }

    public void setOldPassword(String oldPassword) {
        this.oldPassword = oldPassword;
    }
}
